package gov.ccswj.modules.ccbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.ccbusiness.dao.CLostcreditinfoDao;
import gov.ccswj.modules.ccbusiness.entity.CLostcreditinfoEntity;
import gov.ccswj.modules.ccbusiness.service.CLostcreditinfoService;



@Service("cLostcreditinfoService")
public class CLostcreditinfoServiceImpl implements CLostcreditinfoService {
	@Autowired
	private CLostcreditinfoDao cLostcreditinfoDao;
	
	@Override
	public CLostcreditinfoEntity queryObject(Integer id){
		return cLostcreditinfoDao.queryObject(id);
	}
	
	@Override
	public List<CLostcreditinfoEntity> queryList(Map<String, Object> map){
		return cLostcreditinfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return cLostcreditinfoDao.queryTotal(map);
	}
	
	@Override
	public void save(CLostcreditinfoEntity cLostcreditinfo){
		cLostcreditinfoDao.save(cLostcreditinfo);
	}
	
	@Override
	public void update(CLostcreditinfoEntity cLostcreditinfo){
		cLostcreditinfoDao.update(cLostcreditinfo);
	}
	
	@Override
	public void delete(Integer id){
		cLostcreditinfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		cLostcreditinfoDao.deleteBatch(ids);
	}
	@Override
	public void deleteByname(String entname) {
		cLostcreditinfoDao.delete(entname);
		
	}
}
